<%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>

<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>


<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="java.util.*"%>
<%@ page import="br.com.hotel.entity.*"%>
<%@ page import="br.com.hotel.dao.*"%>
<%
	//request.setAttribute("rows", rows);
%>

<html>
<f:view>
	<f:loadBundle basename="br.com.hotel.view.taxa" var="msgs" />
	<head>
	<title><h:outputText value="" /></title>
	<link rel="stylesheet" type="text/css" href="dg_content.css">
	<link rel="stylesheet" type="text/css" href="css/listagem.css">
	</head>
	<body>
	<h:form>
		<div class="titulo"><h:outputText value="#{msgs.titulo}" /></div>
		<div class="subtitulo"><h:outputText
			value="#{msgs.subtitulolistagem}" /></div>
		<hr class="linha" noshade="noshade">
		

		<h:dataTable value="#{RelatorioJSF.servicosFaturados}" var="vtaxa" border="0"
			headerClass="cabecalho" width="100%" rowClasses="linha1,linha2">
			
			
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{msgs.total}" />
				</f:facet>
				<h:outputText value="#{vtaxa.quartosTotal}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{msgs.livre}" />
				</f:facet>
				<h:outputText value="#{vtaxa.quartosLivres}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{msgs.uso}" />
				</f:facet>
				<h:outputText value="#{vtaxa.quartosLivres}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{msgs.taxa}" />
				</f:facet>
				<h:outputText value="#{vtaxa.taxa}" />
			</h:column>
			
		</h:dataTable>
		<br />
	</h:form>
	</body>
</f:view>
</html>